package com.music.service.impl;

import com.music.dao.DistrictMapper;
import com.music.entity.District;
import com.music.service.DistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Classname DistrictServiceImpl
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/7/5 13:39
 * @Created by Administrator
 */
@Service
public class DistrictServiceImpl implements DistrictService {

    @Autowired
    private DistrictMapper districtMapper;

    @Override
    public List<District> getAllDistrict() {
        return districtMapper.selectBycondition(null);
    }
}
